﻿using System.Web;

namespace ContactCenter.Core
{
    public class App
    {
        public static bool IsWeb()
        {
            return HttpContext.Current != null;
            //return HttpRuntime.AppDomainAppVirtualPath != null;
        }

        public static bool NonWeb()
        {
            return !IsWeb();
        }
    }
}